﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceDog.Lib.Chain
{
    public class StudyStringBulider
    {
        private string _str;
        public string Str
        {
            get
            {
                return _str;
            }
            set
            {
                _str = value;
            }
        }
        public StudyStringBulider Add(string str)
        {
            this.Str += str;
            return this;
        }
        public StudyStringBulider Clear()
        {
            this.Str = string.Empty;
            return this;
        }
        public override string ToString()
        {
            return this.Str;
        }
    }
}
